package com.acme.task1;
import com.acme.task1.calculator.Calculation;


public class Demo {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		com.acme.task1.calculator.Calculation calculation = new Calculation();
		try {
			System.out.println(calculation.calc(new String[] {"6", "+", "4"}));
			System.out.println(calculation.calc(new String[] {"6", "-", "4"}));
			System.out.println(calculation.calc(new String[] {"6", "*", "4"}));
			System.out.println(calculation.calc(new String[] {"6", "/", "4"}));
			System.out.println(calculation.calc(args));
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
	}

}
